#!/bin/bash
sudo mknod -m 0666 /dev/vserdev0 c 256 0
make
make test
sudo insmod virtual_serial_driver_ioctl.ko
./test
sudo rmmod virtual_serial_driver_ioctl.ko
sudo rm /dev/vserdev0
modinfo virtual_serial_driver_ioctl.ko
make clean